package com.ruoyi.purchase.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 入库详情对象 t_purchase_store_detail
 *
 * @author wonderland
 * @date 2023-07-17
 */
public class PurchaseStoreDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 订单id */
    private Long id;

    /** 入库单id */
    @Excel(name = "入库单id")
    private Long storeId;

    /** 采购单id */
    @Excel(name = "采购单id")
    private Long orderId;

    /** 结算账户id */
    @Excel(name = "结算账户id")
    private Long accountId;

    /** 仓库id */
    @Excel(name = "仓库id")
    private Long storageId;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setStoreId(Long storeId)
    {
        this.storeId = storeId;
    }

    public Long getStoreId()
    {
        return storeId;
    }
    public void setOrderId(Long orderId)
    {
        this.orderId = orderId;
    }

    public Long getOrderId()
    {
        return orderId;
    }
    public void setAccountId(Long accountId)
    {
        this.accountId = accountId;
    }

    public Long getAccountId()
    {
        return accountId;
    }
    public void setStorageId(Long storageId)
    {
        this.storageId = storageId;
    }

    public Long getStorageId()
    {
        return storageId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("storeId", getStoreId())
            .append("orderId", getOrderId())
            .append("accountId", getAccountId())
            .append("storageId", getStorageId())
            .toString();
    }
}
